package com.mobily.teamaster.reports.client.screen;

public class Util {
	static String months[] = {"Jan",
			"Feb",
			"Mar",
			"Apr",
			"May",
			"Jun",
			"Jul",
			"Aug",
			"Sep",
			"Oct",
			"Nov",
			"Dec"}; 
	public static String getDate(String displayVal){
		String values[] = displayVal.split(" ");
		int mnth = 0;
		for(;mnth < months.length; mnth++){
			if(values[0].equals(months[mnth])){
				break;
			}
		}
		return (mnth+1)+"/"+values[1]+"/"+values[2];
	}
}
